package com.jdb.loan.provider.entity;

import com.guns21.support.entity.AbstractEntity;
import com.jdb.loan.api.LoanCategoryState;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;

/**
 * @author jliu
 */
@Data
@Entity
@Table(name = "TB_LOAN_CATEGORY")
public class LoanCategoryDO extends AbstractEntity {
    /**
     * 图标
     */
    private String cover;

    private String name;

    /**
     * 别名
     */
    private String  alias;

//    /**
//     * 状态
//     */
//    @Enumerated(EnumType.STRING)
//    @Column(length = 36)
//    private LoanCategoryState state ;
}
